package edu.yctc.manage.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author zyj
 * @email 1527215026@qq.com
 * @date 2021-03-29 14:02:07
 */
@Data
@TableName("tb_student")
public class StudentDO implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;

	private String name;
	/**
	 * 性别：1-男, 2-女
	 */
	private Integer gender;
	/**
	 * 学院id
	 */
	private Long sdeptId;

	private Date createTime;

	private Date modifyTime;

	@Override public String toString() {
		final StringBuffer sb = new StringBuffer("StudentDO{");
		sb.append("id=").append(id);
		sb.append(", name='").append(name).append('\'');
		sb.append(", gender=").append(gender);
		sb.append(", sdeptId=").append(sdeptId);
		sb.append(", createTime=").append(createTime);
		sb.append(", modifyTime=").append(modifyTime);
		sb.append('}');
		return sb.toString();
	}
}
